package org.hnxxxy.ebms.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import org.hnxxxy.ebms.common.Result;
import org.hnxxxy.ebms.pojo.TeacherAdmiss;
import com.baomidou.mybatisplus.extension.service.IService;
import org.hnxxxy.ebms.vo.TeacherAdmissVo;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author WANGWEI
 * @since 2021-06-10
 */
public interface TeacherAdmissService extends IService<TeacherAdmiss> {

    Result<IPage<TeacherAdmissVo>> get(int page);

    Result<IPage<TeacherAdmissVo>> getName(int page, String name);

    Result<String> add(TeacherAdmissVo admiss);

    Result<String> updateTeaAdmiss(TeacherAdmissVo admiss);

    Result<String> del(Integer id);
}
